<?php

namespace Xrfg\Core\Trading\Account\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Xrfg\Core\Trading\Account\Models\ContractAccount
 *
 * @property int $id
 * @property int $user_id
 * @property string $coin_name
 * @property string $available 可用余额
 * @property string $disabled 冻结余额
 * @property string $address 充值地址
 * @method static \Illuminate\Database\Eloquent\Builder|ContractAccount newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|ContractAccount newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|ContractAccount query()
 * @method static \Illuminate\Database\Eloquent\Builder|ContractAccount whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ContractAccount whereAvailable($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ContractAccount whereCoinName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ContractAccount whereDisabled($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ContractAccount whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ContractAccount whereUserId($value)
 * @mixin \Eloquent
 */
class ContractAccount extends Model
{
    use ContractAccountLogHelper;

    public $timestamps = false;

    protected $table = 'accounts';

    protected $fillable = ['coin_name', 'user_id'];

    protected $connection = 'mysql_contract';
}
